<?php
class LevelMapper implements IDataMapper {
	
	public function mapRow($row) {
		$levelDto = new LevelDto();
		$levelDto->setLevel($row['level']);
		$levelDto->setPointTypeId($row['pointTypeId']);
		$levelDto->setPoints($row['points']);
		$levelDto->setTitle($row['title']);
		$levelDto->setImagePath($row['imagePath']);
		return $levelDto;
	}
}

?>
